<?php
namespace Tbf\Component\Http\ServeFile;
class DirMap extends FileMap{
    function findFileByUrl($url){
        if (strpos($url,$this->prefix_url)!==0){
            return array(null,'Not Handle');
        }
        $remain_path = substr($url,strlen($this->prefix_url));
        return array($this->prefix_file_path.$remain_path,null);
    }
}